import ENV from '@/config/env.js';
import request from '@/utils/request';
const ApiUrl = ENV.API_URL;

export default {
  /**
   * 列表菜品
   **/
  list(data) {
    return new Promise((success, error) => {
      request({ url: ApiUrl + '/pos4/goods/user/list-goods', method: "GET", data, success, error });
    });
  }
};
